package section_05;

import java.util.Scanner;

public class chapter_05 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("first:");
        int a = scanner.nextInt();

        System.out.println("second:");
        int b = scanner.nextInt();

        int max = getMax(a, b);
        System.out.println("max: " + max);
    }

    public static int getMax(int a, int b) {
        return a > b ? a : b;
    }
}
